.box {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  margin-top: 30px;
  .messages-box {
    margin-left: 30px;
    width: 999px;
    height: auto;
    background: #ffffff;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 30px 30px 0px 30px;
    .btn-top {
      display: flex;
      width: 100%;
      height: 16px;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
      .btn-title {
        display: inline-block;
        width: auto;
        height: 16px;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        line-height: 16px;
        cursor: pointer;
        text-align: left;
      }
      .btn-read {
        display: inline-block;
        width: auto;
        height: 16px;
        font-size: 14px;
        font-weight: 400;
        color: #3ca7fa;
        line-height: 16px;
        cursor: pointer;
        &:hover {
          opacity: 0.8;
        }
      }
    }

    .messages-content {
      width: 100%;
      display: flex;
      flex-direction: column;

      .message-item-readed {
        width: 100%;
        height: auto;
        background: #ffffff;
        display: flex;
        flex-direction: row;
        position: relative;
        padding-right: 20px;
        box-sizing: border-box;
        cursor: pointer;
        margin-bottom: 30px;
        .point {
          position: absolute;
          width: 8px;
          height: 8px;
          top: 6px;
          left: 0;
          background: #ff4d4f;
          border-radius: 50%;
        }
        .cont {
          width: 855px;
          max-height: 40px;
          margin-left: 25px;
          font-size: 14px;
          font-weight: 400;
          color: #333333;
          line-height: 20px;
          text-overflow: -o-ellipsis-lastline;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          -webkit-box-orient: vertical;
          text-align: left;
        }
        .date {
          position: absolute;
          top: 4px;
          right: 0;
          font-size: 12px;
          font-weight: 400;
          color: #999999;
          line-height: 12px;
        }
      }
      .message-item {
        width: 100%;
        height: auto;
        background: #ffffff;
        display: flex;
        flex-direction: row;
        position: relative;
        padding-right: 20px;
        box-sizing: border-box;
        cursor: pointer;
        margin-bottom: 30px;

        .point {
          position: absolute;
          width: 8px;
          height: 8px;
          top: 6px;
          left: 0;
          background: #ff4d4f;
          border-radius: 50%;
        }
        .cont {
          width: 855px;
          max-height: 40px;
          margin-left: 25px;
          font-size: 14px;
          color: #666666;
          font-weight: 400;
          line-height: 20px;
          text-overflow: -o-ellipsis-lastline;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          -webkit-box-orient: vertical;
          text-align: left;
        }
        .date {
          position: absolute;
          top: 4px;
          right: 0;
          font-size: 12px;
          font-weight: 400;
          color: #999999;
          line-height: 12px;
        }
      }
    }
  }
}
